package com.pachong.android.framework.citypicker;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Simple to Introduction
 *
 * @Author: PengWeiW
 * @E-mail: pengveivei@sina.cn
 * @CreateDate: 2016-12-08
 * @Version: 1.0.0
 */
public class Province {

    public String label;
    public String code;
    @SerializedName("children")
    public List<City> cityList;

    public static  class City{
        public String label;
        public String code;
        @SerializedName("children")
        public List<Country> countryList;

    }

    public static  class Country{
        public String label;
        public String code;
    }

    @Override
    public String toString() {
        return "Province{" +
                "label='" + label + '\'' +
                ", code='" + code + '\'' +
                ", cityList=" + cityList +
                '}';
    }
}
